import os.path
import time
from selenium import webdriver
from selenium.webdriver.common.by import By

driver = webdriver.Chrome()
# file = 'file:///' + os.path.abspath('html/popup.html')
file = os.path.join(os.path.abspath('html/radio-checkbox.html'))
driver.get(file)
driver.maximize_window()

inputs = driver.find_elements(By.XPATH, '//input[@type="checkbox"]')
for i in inputs:
    time.sleep(3)
    i.click()
    print(i.is_selected())

driver.quit()
